Skip to content

docs: clarify redirect helpers inside command()#16485

Closed
Hashim1999164 wants to merge 1 commit into
sveltejs:version-3from
Hashim1999164:docs/command-redirect-shared-helpers
Closed

docs: clarify redirect helpers inside command()#16485
Hashim1999164 wants to merge 1 commit into
sveltejs:version-3from
Hashim1999164:docs/command-redirect-shared-helpers

Conversation

@Hashim1999164

@Hashim1999164 Hashim1999164 commented Jul 23, 2026

Copy link
Copy Markdown

Summary

Test plan

  • Preview the remote functions docs page and confirm the Redirects section reads clearly
  • Spot-check the linked API docs for isRedirect, redirect, and goto

Clarify that redirect()-based auth helpers must be caught with isRedirect inside command() and returned as a client-handled result.
@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 02d7aed:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/02d7aed70adbd6062cef48f73eb24551d2a3e987

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16485

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 02d7aed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Nic-Polumeyv

Nic-Polumeyv commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This should be closed. #16328 made the same change and was closed because redirect handling in commands is being redesigned in #16330, with docs to be part of that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants